import request from "@/utils/request";

const scheUrl = "/admin/hosp/schedule";

export default {
  //排班非也数据实现
  getScheduleRule(page, limit, hoscode, depcode) {
    return request({
      url: `${scheUrl}/getScheduleRule/${page}/${limit}/${hoscode}/${depcode}`,
      method: "get"
    });
  },
  //查询排班详情
  getScheduleDetail(hoscode, depcode, workDate){
    return request({
      url: `${scheUrl}/getScheduleDetail/${hoscode}/${depcode}/${workDate}`,
      method: "get"
    });
  }
};
